//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include <stdlib.h>
#include <string.h>

#include <iostream>
#include <fstream>

#include "InhibitorsProperty.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
using namespace std;
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
int main(int argc, char** argv) {

  String* namefileInput;
  String* namefileResult;

  if (argc < 3) {
    cout << "Error in the input arguments. The execution must be: " << endl;
    cout << "./InhibitorProperty <Input File> <Output File - GZip>" << endl;
    return 0;
  }
  else {
    cout << "---------------------------------------------------------------------------------" << endl;
    cout << "  Input File : " << argv[1] << endl;
    cout << " Output File : " << argv[2] << endl;
    cout << "---------------------------------------------------------------------------------" << endl;
    namefileInput  = new String(argv[1]);
    namefileResult = new String(argv[2]);
  }

  InhibitorsProperty* inhibitorsProperty = new InhibitorsProperty();

  inhibitorsProperty->NamefileInput(namefileInput);
  inhibitorsProperty->NamefileResult(namefileResult);
  inhibitorsProperty->LoadData();
  inhibitorsProperty->ComputeEuclidianDistance();

  cout << "---------------------------------------------------------------------------------" << endl;

  if (inhibitorsProperty) delete inhibitorsProperty;

  return 1;

}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//


